from urllib.parse import urljoin
from common.config_parse import parse_ini



host = parse_ini('server').get('host')#获取url 地址
class ServerUrl:
    login_url = urljoin(host,'api/user/login')
    register_url = urljoin(host,'api/user/user_reg')